package com.iflytek.ci.cums.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

import com.iflytek.ci.cpms.dao.TeamAccountMapDao;
import com.iflytek.ci.cpms.domain.TeamAccountMap;
import com.iflytek.ci.cums.service.TeamAccountMapService;

@Service("TeamAccountMapService")
@Transactional(readOnly = true, isolation = Isolation.READ_UNCOMMITTED)
public class TeamAccountMapServiceImpl implements TeamAccountMapService {

	@Autowired
	TeamAccountMapDao dao;

	@Override
	public void add_teamAccountMap(long tid, long[] uid) {
		dao.add_teamAccountMap(tid, uid);
	}

	@Override
	public void remove_teamAccountMap(long tid) {
		dao.remove_teamAccountMap(tid);
	}

	@Override
	public List<TeamAccountMap> get_teamAccountMap(long tid) {
		return dao.get_teamAccountMap(tid);
	}

	@Override
	public List<String> get_uidBytid(long tid) {
		return dao.get_uidBytid(tid);
	}

}
